//
//  EMLoginInputView.h
//  EasyMoney
//
//  Created by 邓乐 on 2020/1/7.
//  Copyright © 2020 zh. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class EMLoginInputView,EMSMSCodeView;
@protocol EMLoginInputViewDelegate <NSObject>

- (void)inputView:(EMLoginInputView *)inputView textfieldChanged:(UITextField *)textfield;
- (void)inputView:(EMLoginInputView *)inputView clickSmsBtn:(UIButton *)smsBtn inSMSCodeView:(EMSMSCodeView *)codeView;
@end

@interface EMLoginInputView : UIView

@property (nonatomic, weak) id<EMLoginInputViewDelegate> delegate;
@property (nonatomic, strong) EMSMSCodeView *smsCodeView;

- (NSString *)currentInputString;
- (void)setText:(nullable NSString *)text;
- (void)showVerifyCode;

@end

NS_ASSUME_NONNULL_END
